package pub.guoxin.oops.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.querydsl.core.annotations.QueryEntity;
import lombok.*;
import org.mongodb.morphia.annotations.Entity;

import java.io.Serializable;

/**
 * 对字段的边界值进行判断
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@QueryEntity
@JsonInclude(JsonInclude.Include.NON_NULL)
@NoArgsConstructor
@AllArgsConstructor
public class DataAlarmConfig extends BaseEntity<String> implements Serializable {

    /**
     * 公司Id
     */
    private String companyId;

    private String fieldName;

    private Boundary boundary;

}
